import 'package:flutter/material.dart';
import 'package:gd_assistant/util/gdPickerTool.dart';

class publicTool {

  static showBottomSheet(BuildContext context,List<String> titles,Function tap) async {
  
    gdPickerTool.showStringPicker(context, 
                                  data: titles, 
                                  clickCallBack:(int index, var title){
                                     tap(title);
                                  });

  }
}